Developer Documentation

QuickTime 4 API Documentation
QuickTime Music Architecture

| Previous | Chapter Contents | Chapter Top | Next |

Non-General MIDI Instrument Information Structure

The non-General MIDI information structure provides information about non-General MIDI instruments within an instrument component. It is defined by the nonGMInstrumentInfoRecord data type.

struct nonGMInstrumentInfoRecord {
    long                        cmpInstID;
    long                        flags;
    long                        toneNameIndex;
    long                        itxtNameAtomID;
};
typedef struct nonGMInstrumentInfoRecord nonGMInstrumentInfoRecord;
cmpInstID
The number of the instrument within the instrument component. If the ID is 0, the name is a category name.

flags
Not used.

toneNameIndex
The instrument's position in the toneNames index stored in the instrument information list this structure is a part of. The index is a one-based index.

itxtNameAtomID
The instrument's position in the itxtNames index stored in the instrument information list this structure is a part of.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |